package pkg.estadisticas;

import java.util.List;
import pkg.finanzas.AgeVsBraveness;
import pkg.finanzas.Kid;

public class Statistics {

    private AgeVsBraveness ageVsBraveness;
    private List<Kid> kids;

    public Statistics() {
    }

    public List<Kid> getKids() {
        return kids;
    }

    public void setKids(List<Kid> kids) {
        this.kids = kids;
    }

    public AgeVsBraveness getAgeVsBraveness() {
        if (null == ageVsBraveness) {
            ageVsBraveness = new AgeVsBraveness();
            ageVsBraveness.setKids(getKids());
        }
        return ageVsBraveness;
    }
}